<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Header</title>
</head>
<body>
<nav class="navbar navbar-light bg-light header-nav" th:fragment="head-fragment">
    <div class="container">
        <span class="navbar-brand mb-0 h1 header-font">Property Management System</span>
    </div>
</nav>
<ul class="nav nav-tabs" th:fragment="fragment-header">
    <li role="presentation" th:class="${page.getPageIndex()==0}?'active'"><a th:href="@{/index}">Home</a></li>
    <li role="presentation" th:class="${page.getPageIndex()==3}?'active'"><a th:href="@{/jobBO/repairRecord}">报修管理</a></li>
    <li role="presentation" th:class="${page.getPageIndex()==5}?'active'"><a th:href="@{/complaint/complaintRecord}">投诉意见管理</a>
    </li>
</ul>
</body>
</html>